[@plaintext.layout title="QuickView"]
h1. Date String
[#assign test1 = "Oct 25, 1995"?date]
[#assign test2 = "3:05:30 PM"?time]
[#assign test3 = "Oct 25, 1995 03:05:00 PM"?datetime]
${test1}
${test2}
${test3}

[#assign test1 = "10/25/1995"?date("MM/dd/yyyy")]
[#assign test2 = "15:05:30"?time("HH:mm:ss")]
[#assign test3 = "1995-10-25 03:05 PM"?datetime("yyyy-MM-dd hh:mm a")]
${test1}
${test2}
${test3}

h1. Formating
[#assign openingTime="Oct 25, 1995 03:05:00 PM"?datetime]
${openingTime?string.short}
${openingTime?string.medium}
${openingTime?string.long}
${openingTime?string.full}

[#assign nextDiscountDay="Oct 26, 1995 03:05:00 PM"?datetime]
${nextDiscountDay?string.short}
${nextDiscountDay?string.medium}
${nextDiscountDay?string.long}
${nextDiscountDay?string.full}

[#assign lastUpdated="Oct 27, 1995 03:05:00 PM"?datetime]
${lastUpdated?string.short}
${lastUpdated?string.medium}
${lastUpdated?string.long}
${lastUpdated?string.full}

${lastUpdated?string.short_long} [#-- short date, long time --]
${lastUpdated?string.medium_short} [#-- medium date, short time --]

${lastUpdated?string("yyyy-MM-dd HH:mm:ss zzzz")}
${lastUpdated?string("EEE, MMM d, ''yy")}
${lastUpdated?string("EEEE, MMMM dd, yyyy, hh:mm:ss a '('zzz')'")} 
[/@plaintext.layout]
